//var fq='socks5 127.0.0.1:5050';
var fq='proxy 127.0.0.1:5050';
var zl='DIRECT';


var gg="*.google.com|*.googleapis.com|translate.googleapis.com|*.gstatic.com|*.ggpht.com|*.googleusercontent.com"

var sns="twitter.com|*.twimg.com|*.facebook.com|*.fbcdn.net"

var dq="*.hk|*.jp|*.tw|*.us"
var vd="*.youtube.com|*.ytimg.com"

var qt="*.wikipedia.org"

var img="*.sankakucomplex.com"



function FindProxyForURL(url, host) {
    if (shExpMatch(host, gg)) {
        return fq;
    }

if (shExpMatch(url, gg)) {
        return fq;
    }
    
    
    if (shExpMatch(host, dq)) {
        return fq;
    }

    if (shExpMatch(host, sns)) {
        return fq;
    }
    if (shExpMatch(host, vd)) {
        return fq;
    }
    if (shExpMatch(host, qt)) {
        return fq;
    }
    
      if (shExpMatch(host,img)) {
        return fq;
    }


    return zl ;
}